|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Macros | |
| #define | DEFAULT_VALUE 0xBEAD |
Functions | |
| void | main (void) |
| void | WDT_A_ISR (void) |
| #define DEFAULT_VALUE 0xBEAD |
RAM controller - Set sector0 to memory-retention mode.
Setup the RAM controller to memory retention mode. Once watchdog expires and wakes up from LPM3 mode, checking the value in the sector0 and toggle P1.0 if the value is same as orignal value.
| / | | |
|---|---|
| – | RST |
| P1.0 | -->LED |
| |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 62 of file ram_ex1_setSectorOff.c.
| void main | ( | void | ) |
Definition at line 66 of file ram_ex1_setSectorOff.c.
| void WDT_A_ISR | ( | void | ) |
Definition at line 120 of file ram_ex1_setSectorOff.c.
References __bic_SR_register_on_exit().